package com.yincheng.oes.business.exam.judgepaper.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 *
 * @author yangsy
 * @version 1.0.0
 * @since
 * 创建时间：2018年7月18日
 * 功能描述：学生考试成绩实体
 * 邮箱地址：446948434@qq.com
 */
public class PaperResult {
    /**
     * 主键id
     */
    private String id;

    /**
     * 试卷id
     */
    private String paperId;

    /**
     * 学生id
     */
    private String userId;

    /**
     * 考试状态，1：未回到、2：回答中、3：回答完毕
     */
    private String status;

    /**
     * 答题开始时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 答题结束时间
     */
    private Date endTime;

    /**
     * 学生姓名
     */
    private String userName;

    /**
     * 考试成绩得分
     */
    private Float score;

    /**
     * 录入教师uid
     */
    private String teacherUid;

    /**
     * 录入教师姓名
     */
    private String teacherName;

    /**
     * @return the teacherUid
     */
    public String getTeacherUid() {
        return teacherUid;
    }

    /**
     * @param teacherUid the teacherUid to set
     */
    public void setTeacherUid(String teacherUid) {
        this.teacherUid = teacherUid;
    }

    /**
     * @return the teacherName
     */
    public String getTeacherName() {
        return teacherName;
    }

    /**
     * @param teacherName the teacherName to set
     */
    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    /**
     * 题目信息列表
     */
    private List<PaperResultQues> paperResultDetails;

    /**
     * 错题关联大纲集合
     */
    private List<ErrorOutlineExport> errorOutlineExports;

    public List<ErrorOutlineExport> getErrorOutlineExports() {
        return errorOutlineExports;
    }

    public void setErrorOutlineExports(List<ErrorOutlineExport> errorOutlineExports) {
        this.errorOutlineExports = errorOutlineExports;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPaperId() {
        return paperId;
    }

    public void setPaperId(String paperId) {
        this.paperId = paperId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Float getScore() {
        return score;
    }

    public void setScore(Float score) {
        this.score = score;
    }

    /**
     * @return the paperResultDetails
     */
    public List<PaperResultQues> getPaperResultDetails() {
        return paperResultDetails;
    }

    /**
     * @param paperResultDetails the paperResultDetails to set
     */
    public void setPaperResultDetails(List<PaperResultQues> paperResultDetails) {
        this.paperResultDetails = paperResultDetails;
    }


}
